﻿<meta http-equiv="X-UA-Compatible" content="IE=8" />
@model Siser.Web.Models.ingresos_transitorios 
@{
    ViewBag.Title = "Cambio Contraseña";
}
<div><img src="@Url.Content("~/Content/images/Pagina/_header.png")" width="100%" alt="cabecera"/></div>
<!DOCTYPE html>
<html>
<head>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/Propios.js")" type="text/javascript"></script> 
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.autotab-1.1b.js")" type="text/javascript"></script>

    <title>Cambio Contraseña</title>
</head>

<body>
    @using (Html.BeginForm(null, null, FormMethod.Post, new { id = "form1" }))
    {
        @Html.ValidationSummary(true)
        <fieldset id="inicio-sesion">
            <legend>Cambio de password transitorio</legend>

            <div class="editor-label"><b>@Html.LabelFor(model => model.ContraseniaTransitoria)</b></div>
            <div class="editor-field">
                @Html.PasswordFor(model => model.ContraseniaTransitoria, new { maxlength = 20, onpaste = "return false" })
                @Html.ValidationMessageFor(model => model.ContraseniaTransitoria)
            </div>

            <div class="editor-label"><b>@Html.LabelFor(model => model.Contrasena)</b></div>
            <div class="editor-field">
                @Html.PasswordFor(model => model.Contrasena, new { maxlength = 20, onpaste = "return false" })
                @Html.ValidationMessageFor(model => model.Contrasena)
            </div>

            <div class="editor-label"><b>@Html.LabelFor(model => model.ContrasenaComparada)</b></div>
            <div class="editor-field">
                @Html.PasswordFor(model => model.ContrasenaComparada, new { maxlength = 20, onpaste = "return false" })
                @Html.ValidationMessageFor(model => model.ContrasenaComparada)
            </div>

            @Html.HiddenFor(model => model.usuario_id)
                     
            <p><input id="boton-inicio-sesion" type="submit" value="Cambiar Contraseña"/></p>
        </fieldset>
        
    }
</body>
</html>